package sjd.ahsj.springbootmybatisplusoracle.service;

import org.apache.ibatis.annotations.Param;
import sjd.ahsj.springbootmybatisplusoracle.entity.BaseUser;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 会员 服务类
 * </p>
 *
 * @author zhanghaogao
 * @since 2018-09-18
 */
public interface IBaseUserService extends IService<BaseUser> {

    /**
     * 增加金币
     *
     * @param userId
     * @param amount
     * @return
     */
    int addAmount(Long userId, Long amount);
}
